/*

Author   : chaos

FileName : if.cpp

Date     : 17/08/17 22:07:42

*/
#include <iostream>
using namespace std;

#define MAX(a,b) ((a>b)?(a):(b))


int main(int argc ,char *argv[])
{
#if defined MAX
    cout << "MAX(10,5) = " << MAX(10,5) << endl;
#else
    cout << "Macro MAX is not defined ." << endl;
#endif

#undef MAX
    cout << "Macro MAX is undefined !" << endl;

#if defined MAX
    cout << "MAX(10,5) = " << MAX(10,5) << endl;
#else
    cout << "Macro MAX is not defined ." << endl;
#endif

    return 0;
}
